<template>
  <div>
    <h4>冠心病</h4>
    <el-form :model="sizeForm" label-width="80px" size="mini">
      <el-row>
        <el-col :span="12">
          <el-form-item label="年份:">
            <el-date-picker v-model="sizeForm.years" type="year" placeholder="选择年" />
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="服用药物:">
            <el-input v-model="sizeForm.medicine" />
          </el-form-item>
        </el-col>
      </el-row>
    </el-form>
    <el-divider />
  </div>
</template>

<script>
export default {
  data() {
    return {
      sizeForm: {
        id: '',
        pid: this._routerRoot._route.query.id,
        diseaseName: '4'
      }
    }
  },
  methods: {
    onSubmit() {
      console.log('submit!')
    }
  }
}
</script>

<style>

</style>
